#! /bin/bash

echo -n "please input 2 number >:"

read num1 num2

echo "num1 = $num1, num2 = $num2"

ret=`expr $num1 + $num2`

echo "num1 + num2 = $ret"

ret=`expr $num1 \* $num2`

echo "num1 \* num2 = $ret"

ret=`expr $num1 - $num2`

echo "num1 - num2 = $ret"

ret=`expr $num1 / $num2`

echo "num1 / num2 = $ret"

ret=`expr $num1 % $num2`

echo "num1 % num2 = $ret"
